package com.siki.dto.admin;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.validation.constraints.NotNull;

/**
 * @Author Siki
 * @Date 2020/6/7
 */
@ApiModel("条件查询所有账号DTO")
@Getter
@Setter
@NoArgsConstructor
public class FindEnterpriseListDTO {
    @ApiModelProperty("当前页数")
    Integer pageNum;

    @ApiModelProperty("查询记录数")
    Integer pageSize;

    @ApiModelProperty("账号名称")
    String realName;

    @ApiModelProperty("用户身份")
    String userRole;

    @ApiModelProperty("审核状态")
    @NotNull(message = "审核状态不能为空")
    String auditStatus;
}
